<?php
class TDataTableLotacaoVagasInfo extends TDataTable
{
    public function __construct($lotacaoid, $options = array())
    {
        $model  = new ViewCarenciaCargosPorStatus();
		$key = NULL;
        
        $criterio = array();
        $criterio['precondicao'] = 'lotacaoid = '.$lotacaoid;
		
        $options = array();
		$options['editColumn'] = FALSE;
		$options['checkColumn'] =FALSE;
		$options['searchGrid'] = FALSE;
		$options['footer'] = FALSE;
		$options['itensPerPage'] = 30;
		
		parent::__construct($model,$key,$criterio,$options);
		
		$this->addColumnsData(array(
									'cargo',
									'a vincular', 
									'em vinculacao',
		                            'contratado'
		                            ));
    }
}